 
<script src="__MOBILE__/js/mobile/clipboard.min.js"></script>
<script class="ng-scope">
$(function(){
$(".dropdowncentermenu").css("display", "none");
$(".dropdowncentermenu2").css("display", "none");
$("#maintitle").html ("代理中心"); 
$(".navbar-absolute-bottom").css ("display" , "none");
$(".infopanel").css ("display" , "none");
$(".navbar-brand-center").css ("margin-left" , "0px");

checkmargin ();

$(".settingtab").click(function(t){
  tab = $(this).attr('data-id');
  $('.settingtab').removeClass('active');
  $('.settingContainer').hide();
  $(this).addClass('active');
  $("#"+tab).show();
});
});
</script>

<style class="ng-scope">.has-navbar-top .app-body { padding-top: 72px; }
.agent-box ul,.agent-box h3,.agent-box h4,.agent-box p{padding:0; margin:0;}
.agent-box ul{list-style:none;}
.agent-box h3{font-weight:normal;}
.agent-box .ab-link{padding:20px 10px;}
.agent-box h3{font-size:20px; padding-bottom:20px;}
.agent-box .ab-link .txt{height:44px; border:0; background-color:rgb(238,238,238); border-radius:5px; overflow:hidden; width:100%; font-size:18px; outline:none; box-sizing:border-box; padding:0 10px; border:1px solid #dadada;}
.agent-box .ab-link .btn{height:44px; border:0; background-color:#ff4e00; border-radius:5px; overflow:hidden; color:#fff; width:100%; font-size:18px; outline:none; box-sizing:border-box;}
.agent-box .ab-link .item+.item{padding-top:15px;}
.agent-box .ab-link .shuom{font-size:18px; color:#999;}
.agent-box .ab-link .shuom h4{padding-bottom:15px; padding-top:15px;}
.agent-box .ab-bil{padding:20px 10px 86px;}
.agent-box .ab-bil .item{display:-webkit-box; display:-webkit-flex; display:flex; border:1px solid #dadada; border-radius:5px; position:relative; overflow:hidden;}
.agent-box .ab-bil .item+.item{margin-top:10px;}
.agent-box .ab-bil .item .tit{display:block; padding:0 10px; height:44px; line-height:44px; font-size:18px; font-weight:normal; margin:0;}

.agent-box .ab-bil .item .inp input[type="number"]{width:100%; height:44px; padding:0 44px 0 10px; font-size:20px; color:#000; outline:none; box-sizing:border-box; -webkit-appearance:none; appearance:none; border:none; text-align:right;}
.agent-box .ab-bil .item span{position:absolute; top:50%; right:10px; -webkit-transform:translateY(-50%); transform:translateY(-50%); font-size:18px; color:#999;}
/*.agent-box .ab-bil .btn{height:44px; border:0; background-color:#2061b3; border-radius:5px; overflow:hidden; color:#fff; width:100%; font-size:18px; outline:none; box-sizing:border-box;}*/
.agent-box .ab-bil .pank-type{position:relative;}
.agent-box .ab-bil .pank-type select{border:1px solid #dadada; border-radius:5px; width:100%; height:44px; overflow:hidden; padding:0 10px; font-size: 18px; color:#000; outline:none; -webkit-appearance:none; appearance:none; margin-bottom:20px; background-color:rgb(238,238,238);}
.agent-box .ab-bil .pank-type:after{content:""; position:absolute; top:50%; -webkit-transform:translateY(-50%); transform:translateY(-50%); margin-top:-5px; right:10px; width:0; height:0; border-width:10px; border-style:solid; border-color:#ccc transparent transparent transparent;}
.agent-box .ab-bil .btn{height:66px; border:0; background-color:#2061b3; overflow:hidden; color:#fff; width:100%; font-size:20px; outline:none; box-sizing:border-box; border-radius:0;}
</style>
  <div class="app-content">
<div class="scrollable ng-scope">
<div class="scrollable-content member-setting overthrow">

<div>

  <div class="clearfix margintop10 marginleft10">
      <div class="fl"><img src="__MOBILE__/default/images/mobile/cash/icouser.jpg" width="47" height="46" alt=""></div><div class="fl blue cnbig1 marginleft10 margintop15"><?php echo $_SESSION['member_name']?></div>
    </div>
     <div class="settingmenu margintop10 clearfix">
        <a href="#/agent/index" class="colbtn">
          <img src="__MOBILE__/default/images/mobile/cash/icolink.jpg" width="73" height="74" alt="">
            <p class="margintop10">推广网址</p>
            <div class="settingarrow"></div>
        </a>
        <a href="#/agent/child" class="colbtn">
          <img src="__MOBILE__/default/images/mobile/cash/icoxiax.jpg" width="73" height="74" alt="">
            <p class="margintop10">下线会员</p>
         
        </a>
        <a href="#/agent/dl_money" class="colbtn">
          <img src="__MOBILE__/default/images/mobile/cash/icotongj.jpg" width="73" height="74" alt="">
            <p class="margintop10">代理报表</p>
            
        </a>
    </div>
    <div class="agent-box">
      <div class="ab-link">
        <h3>下列网址为您的代理推广网址：</h3>
        <ul>
			
          <li class="item"><input type="text" value="{$url}" readonly id="flink" class="txt"></li>
          <li class="item"><input type="button" value="复制链接" class="btn" id="bcopye" data-clipboard-target="#flink"></li>
		
          <li class="item shuom">
            <h4>备注说明：</h4>
            <p>1、代理申请成功后，请使用以上推广网址进行推广；</p>
            <p>2、通过推广网址注册来的会员将会成为您的下线会员。</p>
          </li>
        </ul>
      </div>
  </div>   
    

</div>

</div>
</div>
<script class="ng-scope">
// var hash = window.location.hash;
// hash =  hash.split('/')[3];
// $('.settingtab:nth-child('+hash+')').click();
</script>
<script>
$(function(){
  var pank=$("#pank");
  var pankType=$("#pank").find("select");
  var pankCont=$("#pank").find("ul");
  pankType.change(function(){
    var that=$(this).val();
    if(that>=0){
      pankCont.each(function(){
        pankCont.hide();
      });
      pankCont.eq(that).show();
    }else{
      pankCont.hide();
    }
  });
  var bcopye=new Clipboard("#bcopye");
  bcopye.on('success',function(e) {
    alert('复制成功!')
    e.clearSelection();
  });
  bcopye.on('error',function(e) {
    alert('请选择“拷贝”进行复制!')
  });
});
</script>
        </div>
     